#ifndef HISTSCROLLAREA_H
#define HISTSCROLLAREA_H

#include <QScrollArea>
#include <QLayout>
#include <QVariant>
#include <QApplication>
#include <QClipboard>
#include "historyWidget.h"

class histScrollArea : public QScrollArea
{
Q_OBJECT
public:
	histScrollArea(QWidget *parent);
	void addHistWidget(historyWidget *hist);
//	QString resultText(bool html = false);
private slots:
	void copyHistories() const;
	void clearHistory();
// slots form history tab
	void selectAllClicked() const;
	void unSelectAllClicked() const;
private:
	QList<historyWidget*> histories;
};

#endif // HISTSCROLLAREA_H
